#include "mainwindow.h"
#include "ui_mainwindow.h"



MainWindow::MainWindow(QWidget *parent) :
    QMainWindow(parent),
    ui(new Ui::MainWindow)
{
    ui->setupUi(this);
   // Prepare* _Prepare = new Prepare;


    QList<QString> _t_001 = {"one","two","three","four"};
    qDebug()<<_t_001;
    for (int _c = 0; _c <= _t_001.length()-1; _c++)
    {
        QLineEdit* _l= new QLineEdit(_t_001[_c]);
        _l->setFixedSize(200,20);
        connect(_l,&QLineEdit::returnPressed,
                [=]()
        {
            qDebug()<<_l->text();
        });
        ui->tabWidget->addTab(_l,_t_001[_c]);
    }
   /* Model* model = new Model;
    ui->tableView->setModel(model);
    ui->tableView->setItemDelegate();*/
}

MainWindow::~MainWindow()
{
    delete ui;
}
